package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AccessoryInfos {
    @NotBlank
    @Schema(name = "id",description = "配件id")
    private String id;

    @NotBlank
    @Schema(name = "sensorType",description = "传感器⽅式 只有wirelessType为Defence时 此字段才有效，烟感传Smoke 必传")
    private String sensorType;

    @NotBlank
    @Schema(name = "wirelessType",description = "⽆线设备类型 Unknowntype-未知类型；KeyBoard-键盘；Defence-防区；RemoteControl-遥控器；Magnetomer-磁⼒计；AlarmBell-警号；SmartLock-智能锁；Switcher-插座；WirelessRepeater-中继器 必传")
    private String wirelessType;

    @Schema(name = "areaId",description = "配件所属分区id")
    private Integer areaId;

    @NotBlank
    @Schema(name = "name",description = "配件名称 char[128] 必传")
    private String name;

    @NotBlank
    @Schema(name = "model",description = "配件型号 不同配件不⼀样，扫描配件⼆维 码即可查看,烟感传HY-SA21A 必传")
    private String model;

}
